package com.framework.entity.sys;

import com.baomidou.mybatisplus.annotations.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 功能描述: 收货地址
 *
 * @author ck
 * @date 2018/9/17 15:58
 */
@Data
@ApiModel(value = "SysAddress")
public class SysAddress implements Serializable {
	/**
	 * 主键id
	 */
	@TableId
	@ApiModelProperty(hidden = true)
	private String addressId;
	/**
	 * 省
	 */
	@ApiModelProperty(value = "省" , required = true)
	private String prov;
	/**
	 * 市
	 */
	@ApiModelProperty(value = "市", required = true)
	private String city;
	/**
	 * 区
	 */
	@ApiModelProperty(value = "区", required = true)
	private	String area;
	/**
	 * 姓名昵称
	 */
	@ApiModelProperty(value = "姓名昵称", required = true)
	private String nick;
	/**
	 * 详细地址
	 */
	@ApiModelProperty(value = "详细地址", required = true)
	private	String info;
	/**
	 * 手机号码
	 */
	@ApiModelProperty(value = "手机号码", required = true)
	private String phone;
	/**
	 * 是否默认 1：是 2：否
	 */
	@ApiModelProperty(value = "是否默认 1：是 2：否", required = true)
	private	Integer isDefault;
	/**
	 * 代理商id
	 */
	@ApiModelProperty(hidden = true)
	private Long agentId;
	/**
	 * 录入时间
	 */
	@ApiModelProperty(hidden = true)
	@JsonFormat(pattern = "yyyy-mm-dd")
	private Date createDate;
	/**
	 * 是否显示 1：显示 2：否
	 */
	@ApiModelProperty(hidden = true)
	private Integer isShow;

}
